package com.mzj.saas.mservice.contract.repository;

import com.mzj.saas.mservice.contract.entity.ContractTemplateCustomField;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface ContractTemplateCustomFieldRepository extends PagingAndSortingRepository<ContractTemplateCustomField, Long>, JpaSpecificationExecutor<ContractTemplateCustomField> {
ContractTemplateCustomField findByContractTemplateNumberAndName(String contractTemplateNumber,String name);

    List<ContractTemplateCustomField> findByContractTemplateNumber(String contractTemplateNumber);
}
